package com.exam.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.exam.demo.controller.dto.PaperDTO;
import com.exam.demo.entity.SelectCourse;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 功能描述
 *
 * @author yxj30
 * @date 2022/03/16  19:23
 */

public interface SelectCourseService extends IService<SelectCourse> {

    Page<SelectCourse> findPage(Page<SelectCourse> objectPage,String studentName);

    Page<PaperDTO> exam(Page<Object> objectPage, String paperName,String studentId,Integer examType);

    boolean imp(MultipartFile file) throws IOException;

    HttpServletResponse export(HttpServletResponse response) throws IOException;
}
